package code.structure.module.configs.cmd
{
	import code.structure.module.configs.ConfigModel;
	import code.structure.module.configs.data.SignInConfigData;
	
	import flash.utils.Dictionary;

	/**
	 *解析签到 
	 * @author liangqian
	 * 
	 */	
	public class AnalysisSignIn
	{
		private var _dic:Dictionary;
		public function AnalysisSignIn(obj:Object,configData:ConfigModel)
		{
			_dic = new Dictionary();
			parserData(obj,configData);
		}
		
		private function parserData(data:Object,configData:ConfigModel):void
		{
			var signInConfigData:SignInConfigData;
			for each (var o:Object in data) 
			{
				signInConfigData = new SignInConfigData(o,configData);
				_dic[signInConfigData.id] = signInConfigData;
			}
		}

		public function get dic():Dictionary
		{
			return _dic;
		}
	}
}